-- GENERATED SPELL FOR [Blacksilt Shorestriker] --


function spell0_17328(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(31290,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17328', 3282, 1)
end

function Sorts_17328(pUnit, Event)
local choix_sorts_17328 = math.random(0, 0)
if choix_sorts_17328 == 0 then
pUnit:RegisterEvent('spell0_17328', 1, 1)
end
end

function mob17328_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17328', math.random(1500, 3000), 1)
end

function mob17328_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17328_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17328_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17328, 1, 'mob17328_Action')
RegisterUnitEvent(17328, 2, 'mob17328_Leave')
RegisterUnitEvent(17328, 3, 'mob17328_Kill')
RegisterUnitEvent(17328, 4, 'mob17328_Die')
